import { defineComponent,h } from "vue"

export default defineComponent({
  name: 'MyButton',
  props:{
    disabled: Boolean,
  },
  emits:['custom-click'],
  render() {
    return h('button',{
        disabled: this.disabled,
        onClick: (e) => {
            this.$emit('custom-click',e)
        }
    },this.$slots)
  },

})